package edu.suda.mapper;

import edu.suda.entity.Company;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***************************
 * @Description: 商家的持久层接口
 * @Author: 苏大
 */
public interface CompanyMapper {

    void save(Company company);

    Company findById(Integer id);

    List<Company> findAll();

    void deleteById(Integer id);

    void deleteSelected(@Param("ids") Integer[] idList);

    void update(Company company);

}
